Display Name = "Granberia's Nightmare"
Parallax Name = "StarlitSky"
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    ControlSelfSwitch(["A", 0])
    Wait([60])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["This is the nightmare of Granberia..."])
    ShowText(["It feels different from what I imagined."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["It doesn't have the atmosphere of a nightmare at all, but rather feels closer to Tartarus."])
    ShowText(["And it seems that neither Granberia nor Agaliarept are around――"])
    Wait([30])
    SetMoveRoute([-1, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=19, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=19, @parameters=[])"])
    ConditionalBranch([0, 1005, 0])
      ShowTextAttributes(["alice_fc5", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["What is this magic circle?"])
      ShowText(["It isn't activated, and nothing seems to be happening..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1006, 0])
      ShowTextAttributes(["alice_fc1", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["What is this magic circle?"])
      ShowText(["It isn't activated, and nothing seems to be happening..."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1007, 0])
      ShowTextAttributes(["alice_fc7", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["What is this magic circle?"])
      ShowText(["It isn't activated, and nothing seems to be happening..."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["mob_mahousyouzyo_fc1", 0, 0, 2])
    ShowText(["\\n<Magical Mari-chan>"])
    ShowText(["It looks like a transfer circle, but... it doesn't seem to be working."])
    ShowText(["Why is there such a thing in a nightmare?"])
    ShowTextAttributes(["mob_mahousyouzyo_fc1", 0, 0, 2])
    ShowText(["\\n<Magical Mari-chan>"])
    ShowText(["Granberia herself isn't here either, it's strange."])
    ShowText(["Could this also be the work of Agaliarept?"])
    ConditionalBranch([0, 1026, 0])
      ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
      ShowText(["\\n<Ilias>"])
      ShowText(["I'm also curious about the four devices around the magic circle..."])
      ShowText(["Anyway, let's investigate the surroundings."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1027, 0])
      ShowTextAttributes(["iriasu_fc1", 4, 0, 2])
      ShowText(["\\n<Ilias>"])
      ShowText(["I'm also curious about the four devices around the magic circle..."])
      ShowText(["Anyway, let's investigate the surroundings."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1028, 0])
      ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
      ShowText(["\\n<Ilias>"])
      ShowText(["I'm also curious about the four devices around the magic circle..."])
      ShowText(["Anyway, let's investigate the surroundings."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Though I entered Granberia's nightmare, the situation is unclear."])
    ShowText(["For now, we have no choice but to explore the area――"])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    Empty([])

  Page 1
    ControlSwitches([31, 31, 1])
    ControlSwitches([32, 32, 1])
    ControlSwitches([33, 33, 1])
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    FadeoutBGM([1])
    ShowPicture([5, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    Wait([120])
    TransferPlayer([0, 988, 27, 41, 2, 2])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 60, true])
    ErasePicture([5])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    Empty([])

  Page 1
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    FadeoutBGM([1])
    ShowPicture([5, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    Wait([120])
    TransferPlayer([0, 986, 30, 51, 8, 2])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 60, true])
    ErasePicture([5])
    Empty([])

  Page 2
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 19
Name = "EV019"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 20
Name = "EV020"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 21
Name = "EV021"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 22
Name = "EV022"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 23
Name = "EV023"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 24
Name = "EV024"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 25
Name = "EV025"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 26
Name = "EV026"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 27
Name = "EV027"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 28
Name = "EV028"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 29
Name = "EV029"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 30
Name = "EV030"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 31
Name = "EV031"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 32
Name = "EV032"

  Page 0
    ConditionalBranch([0, 1005, 0])
      ShowTextAttributes(["alice_fc5", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["The magic circle is emitting light..."])
      ShowText(["It seems to be a transfer circle as well."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1006, 0])
      ShowTextAttributes(["alice_fc1", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["The magic circle is emitting light..."])
      ShowText(["It seems to be a transfer circle as well."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 1007, 0])
      ShowTextAttributes(["alice_fc7", 0, 0, 2])
      ShowText(["\\n<Alice>"])
      ShowText(["The magic circle is emitting light..."])
      ShowText(["It seems to be a transfer circle as well."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["I don't know where it will be transferred to..."])
    ShowText(["Let's go!"])
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    FadeoutBGM([1])
    ShowPicture([5, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    Wait([120])
    ControlSwitches([31, 31, 1])
    TransferPlayer([0, 985, 23, 48, 8, 2])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 60, true])
    ErasePicture([5])
    Empty([])

  Page 1
    Empty([])

CommonEvent 33
Name = "EV033"

  Page 0
    Empty([])

  Page 1
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    FadeoutBGM([1])
    ShowPicture([5, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    Wait([120])
    TransferPlayer([0, 990, 3, 38, 2, 2])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 60, true])
    ErasePicture([5])
    Empty([])

  Page 2
    Empty([])

CommonEvent 34
Name = "EV034"

  Page 0
    Empty([])

  Page 1
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Magic2\", @pitch=100, @volume=80)"])
    FadeoutBGM([1])
    ShowPicture([5, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    Wait([120])
    TransferPlayer([0, 992, 66, 4, 2, 2])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 0, 0, 60, true])
    ErasePicture([5])
    Empty([])

  Page 2
    Empty([])

CommonEvent 35
Name = "EV035"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 36
Name = "EV036"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 37
Name = "EV037"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 38
Name = "EV038"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 39
Name = "EV039"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 40
Name = "EV040"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 41
Name = "EV041"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 42
Name = "EV042"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 43
Name = "EV043"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 44
Name = "EV044"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 45
Name = "EV045"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 46
Name = "EV046"

  Page 0
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 47
Name = "EV047"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 48
Name = "EV048"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 49
Name = "EV049"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 50
Name = "EV050"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["There's no response at all..."])
    ShowText(["The device seems to be stopped."])
    Empty([])

  Page 1
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The device is operational."])
    ShowText(["It seems to be supplying magical power to the central magic circle..."])
    Empty([])

CommonEvent 51
Name = "EV051"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 52
Name = "EV052"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 53
Name = "EV053"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 54
Name = "EV054"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 55
Name = "EV055"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 56
Name = "EV056"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 57
Name = "EV057"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 58
Name = "EV058"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 59
Name = "EV059"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 60
Name = "EV060"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 61
Name = "EV061"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 62
Name = "EV062"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 63
Name = "EV063"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 64
Name = "EV064"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 65
Name = "EV065"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["There's no response at all..."])
    ShowText(["The device seems to be stopped."])
    Empty([])

  Page 1
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The device is operational."])
    ShowText(["It seems to be supplying magical power to the central magic circle..."])
    Empty([])

CommonEvent 66
Name = "EV066"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["There's no response at all..."])
    ShowText(["The device seems to be stopped."])
    Empty([])

  Page 1
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The device is operational."])
    ShowText(["It seems to be supplying magical power to the central magic circle..."])
    Empty([])

CommonEvent 67
Name = "EV067"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["There's no response at all..."])
    ShowText(["The device seems to be stopped."])
    Empty([])

  Page 1
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The device is operational."])
    ShowText(["It seems to be supplying magical power to the central magic circle..."])
    Empty([])

CommonEvent 68
Name = "EV068"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 69
Name = "EV069"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 70
Name = "EV070"

  Page 0
    Empty([])

  Page 1
    Empty([])

CommonEvent 71
Name = "EV071"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["A mysterious power is gathering at the tombstone..."])
    PlaySE(["RPG::SE(@name=\"Heal7\", @pitch=100, @volume=80)"])
    FlashScreen(["Color(@red=255.0, @green=255.0, @blue=255.0, @alpha=255.0)", 30, true])
    RecoverAll([0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The party's HP and MP have been fully recovered!"])
    CallCommonEvent([113])
    Empty([])

CommonEvent 72
Name = "EV072"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([3952, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])
